package com.example.common.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "transport_logistics_log")
public class LogisticsLog implements Serializable {

	private static final long serialVersionUID = -1207934686569164168L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "order_no_nvarchar", columnDefinition = "varchar(255) comment '订单号'")
	private String orderNo;
	@Column(name = "name_nvarchar", columnDefinition = "varchar(255) comment '姓名'")
	private String name;
	@Column(name = "tel_nvarchar", columnDefinition = "varchar(255) comment '电话号码'")
	private String tel;
	@Column(name = "address_nvarchar", columnDefinition = "varchar(255) comment '地址'")
	private String address;
	@Column(name = "create_time_datetime", columnDefinition = "datetime(3) comment '到货时间'")
	private Date createTime;
}
